package cn.stylefeng.guns.modular.manager.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.manager.entity.FlowCommissionManagement;
import cn.stylefeng.guns.modular.manager.model.params.FlowCommissionManagementParam;
import cn.stylefeng.guns.modular.manager.model.params.FlowStoreRegionPriceParam;
import cn.stylefeng.guns.modular.manager.model.result.FlowCommissionManagementResult;
import cn.stylefeng.guns.modular.manager.model.result.FlowStoreRegionPriceResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface FlowCommissionManagementService extends IService<FlowCommissionManagement> {
    /**
     * 新增
     *
     * @author yumker
     * @Date 2021-01-07
     */
    void add(FlowCommissionManagementParam param);

    /**
     * 删除
     *
     * @author yumker
     * @Date 2021-01-07
     */
    void delete(FlowCommissionManagementParam param);

    /**
     * 更新
     *
     * @author yumker
     * @Date 2021-01-07
     */
    void update(FlowCommissionManagementParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author yumker
     * @Date 2021-01-07
     */
    FlowCommissionManagementResult findBySpec(FlowCommissionManagementParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author yumker
     * @Date 2021-01-07
     */
    List<FlowCommissionManagementResult> findListBySpec(FlowCommissionManagementParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author yumker
     * @Date 2021-01-07
     */
    LayuiPageInfo findPageBySpec(FlowCommissionManagementParam param);
}
